package com.simulate2.demo.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.data.mongodb.core.mapping.Document;

import java.math.BigDecimal;

/**
 * Commision中的子类，用于保存日期和分佣
 */
@Document
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class Date_commision {

    private Integer date;
    private BigDecimal uCommision;
}
